public class Test {
    public static void main2(String[] args) {
       int a = 1 ;
       int b = 2 ;
       double c = 3.0 ;
       double d = 4.0 ;
        System.out.println(add(a, b));
        System.out.println(add(c, d));

    }
    public static int add(int a , int b){
        return a + b;
    }
    public static double add(double a , double b){
        return a + b ;
    }

    public static void main(String[] args) {
        
    }
}
